import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: atp
 * Date: 2022-10-19
 * Time: 14:31
 */
public class Test {

    public static void main(String[] args) {
        Person person = new Person();
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int age = scanner.nextInt();
            person.setAge(age);
            System.out.println(person.getAge());
        }
    }

}
class Person {
    private int age;
    public void setAge(int age) {
        this.age = age;
    }
    public int getAge() {
        if(this.age < 0) {
            return 0;
        } else if (this.age > 200) {
            return 200;
        } else {
            return this.age;
        }
    }

}

